package com.itfitness.lifecycledemo;

import androidx.lifecycle.LifecycleService;

/**
 * @ProjectName: LifeCycleDemo
 * @Package: com.itfitness.lifecycledemo
 * @ClassName: MyService
 * @Description: java类作用描述
 * @Author: 作者名
 * @CreateDate: 2021/9/14 20:36
 * @UpdateUser: 更新者：
 * @UpdateDate: 2021/9/14 20:36
 * @UpdateRemark: 更新说明：
 */
public class MyService extends LifecycleService {
    public MyService() {
        LocationHelper locationHelper = new LocationHelper();
        getLifecycle().addObserver(locationHelper);
    }
}
